#ifndef __UVIEW_MOUSE_H
#define __UVIEW_MOUSE_H

#include "uview_bitmap.h"

//mouse status
typedef enum
{
    UVIEW_MOUSE_NORMAL = 0,
    UVIEW_MOUSE_HOLD,
    UVIEW_MOUSE_HELP,
    UVIEW_MOUSE_PEN,
    UVIEW_MOUSE_BUSY,
    UVIEW_MOUSE_ACCURATE,
    UVIEW_MOUSE_TEXT,
    UVIEW_MOUSE_UNUSABLE,
    UVIEW_MOUSE_VRESIZE,
    UVIEW_MOUSE_HRESIZE,
    UVIEW_MOUSE_DRESIZE1,
    UVIEW_MOUSE_DRESIZE2,
    UVIEW_MOUSE_RESIZEALL,
    UVIEW_MOUSE_HAND,
    UVIEW_MOUSE_INVISIABLE,
    UVIEW_MOUSE_STATUS_NUM,
} uview_mouse_status_t;

typedef struct
{
    uview_bitmap_t *bmp; //status bmp
    int off_x;
    int off_y;
    uview_mouse_status_t status;
} uview_mouse_status_info_t;


int uview_set_mouse_status(int fd, uview_mouse_status_t status);
int uview_set_mouse_status_info(int fd, uview_mouse_status_info_t *info);
int uview_set_mouse_status_noview(uview_mouse_status_t status);
int uview_set_mouse_stauts_info_noview(uview_mouse_status_info_t *info);
int uview_get_mouse_status(int fd, uview_mouse_status_t *status);
int uview_get_mouse_status_info(int fd, uview_mouse_status_info_t *info);
int uview_get_mouse_status_noview(uview_mouse_status_t *status);
int uview_get_mouse_status_info_noview(uview_mouse_status_info_t *info);

#endif
